package com.wyh.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * User实体类（id,name,password）
 * @Author wangyaohan
 * @Date 2021/9/23 18:50
 * @ClassName User
 */

@ApiModel(value = "user",description = "用户登录实体类")
public class User {

    @ApiModelProperty(name = "id",value = "用户编号",required = true)
    private Long id;

    @ApiModelProperty(name = "name",value = "用户名称",required = true)
    private String name;

    @ApiModelProperty(name = "password",value = "用户密码")
    private String password;
}
